package com.yangff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yangff.entity.admin.entity.Admin;
import com.yangff.entity.admin.entity.dto.AdminDTO;
import com.yangff.entity.product.entity.Financialproduct;
import com.yangff.entity.product.entity.dto.FinancialproductDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


/**
 * <p>
 * 存储各种理财产品的详细信息 Mapper 接口
 * </p>
 *
 * @author yangff
 * @since 2025-01-15
 */
public interface FinancialproductMapper extends BaseMapper<Financialproduct> {


    List<Financialproduct> selectByTypeWithFundnetvalue(@Param("offset") Long offset, @Param("size") Long size, @Param("type") String type);

    Long countByTypeWithFundnetvalue(@Param("type") String type);
}
